package com.example.hotelapp.Bean;

import java.util.List;

/**
 * 订单类型实体类
 */
public class OrderTypeBean {

    /**
     * code : 1
     * msg : 查询成功
     * data : [{"id":1,"type_name":"全部"},{"id":2,"type_name":"待支付"},{"id":3,"type_name":"已支付"},{"id":4,"type_name":"已入住"},{"id":5,"type_name":"已取消"}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * type_name : 全部
         */

        private int id;
        private String type_name;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getType_name() {
            return type_name;
        }

        public void setType_name(String type_name) {
            this.type_name = type_name;
        }
    }
}
